package com.zs.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zs.blog.model.dto.UserListDTO;
import com.zs.blog.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Title: IUserMapper
 * @Author zs
 * @Package com.zs.blog.dao
 * @Date 2025/4/14 23:29
 * @description: 用户持久层
 */
public interface IUserMapper extends BaseMapper<User> {

    List<UserListDTO> listUserWithPagination(Page<UserListDTO> page);

    int updateUserByIds(@Param("ids") List<Long> userIdList);
}
